<%@ Page Language="C#" MasterPageFile="~/Common/WebSiteMaster.master" AutoEventWireup="true" CodeBehind="H_SysSerialization.aspx.cs" Inherits="ScottCateAjax2008.Lesson06.H_SysSerialization" Title="Sys.Serialization.JavaScriptSerializer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">

    <asp:ScriptManager ID="Sm1" runat="server">
        <Scripts>
            <asp:ScriptReference Path="H_SysSerialization.aspx.js" />
        </Scripts>
    </asp:ScriptManager>

<input type="button" value="Create Person" onclick="CreatePerson();" /><br />
<input type="button" value="Serialize Person" onclick="SerializePerson();" /><br />
<input type="button" value="Deserialize JSON" onclick="DeserializeJSON();" /><br />
<input type="button" value="Deserialize Person" onclick="DeserializePerson();" /><br />

<div id="results"></div>

</asp:Content>
